Enum CommandStatus

java.lang.Object
java.lang.Enum<CommandStatus>
com.cisco.pt.ipc.enums.CommandStatus
All Implemented Interfaces:
Serializable, Comparable<CommandStatus>, Constable

public enum CommandStatus extends Enum<CommandStatus>
An enum for the IPC's CommandStatus values
Author:
packettracerexapps@external.cisco.com
  • Enum Constant Details

    • STATUS_OK

      public static final CommandStatus STATUS_OK
    • ERROR_AMBIGUOUS

      public static final CommandStatus ERROR_AMBIGUOUS
    • ERROR_INVALID

      public static final CommandStatus ERROR_INVALID
    • ERROR_INCOMPLETE

      public static final CommandStatus ERROR_INCOMPLETE
    • ERROR_NOT_IMPLEMENTED

      public static final CommandStatus ERROR_NOT_IMPLEMENTED
  • Field Details

    • intValue

      protected int intValue
  • Method Details

    • values

      public static CommandStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static CommandStatus valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getIntValue

      public int getIntValue()
    • fromIntValue

      public static CommandStatus fromIntValue(int value)
    • fromIntValue

      public static CommandStatus fromIntValue(Integer value)